package cn.wolfcode.wolf2w.strategy.service;

import cn.wolfcode.wolf2w.strategy.entity.StrategyCondition;
import cn.wolfcode.wolf2w.strategy.query.StrategyConditionQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * 攻略条件Service接口
 * 
 * @author ruoyi
 * @date 2024-07-24
 */
public interface IStrategyConditionService extends IService<StrategyCondition>{
    /**
    * 分页
    * @param qo
    * @return
    */
    IPage<StrategyCondition> queryPage(StrategyConditionQuery qo);

    List<StrategyCondition> queryByType(Integer type);

    void updateStrategyCondition(int type, Date date);
}
